package com.hy.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hy.entitys.hy_front_userdb.Ums_member;
import org.apache.ibatis.annotations.Param;

/**
 * 会员 Mapper 接口
 * @author HUAYI
 * @since 2020-12-14
 */
public interface Ums_memberMapper extends BaseMapper<Ums_member> {

    /**
     * 验证手机号是否注册
     * @param phone
     * @return
     */
    int verifyPhone(@Param("phone") String phone);

    /**
     * 会员注册
     * @param ums_member
     * @return
     */
    int third_reg(Ums_member ums_member);

}
